package cn.kxm.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.kxm.dao.SellOrderBillMapper;
import cn.kxm.pojo.Company;
import cn.kxm.pojo.SellOrderBill;
import cn.kxm.service.SellOrderBillService;
@Service("sellOrderBillServiceImpl")
public class SellOrderBillServiceImpl implements SellOrderBillService{
    @Autowired
	private SellOrderBillMapper sobm;

	@Override
	public List<SellOrderBill> getSellOrderBills(String code, String starttime,
			String endtime, String customName, Integer pageNo, Integer pageSize) {
		return sobm.getSellOrderBills(code, starttime, endtime, customName, pageNo, pageSize);
	}

	@Override
	public int getSellOrderBillCount(String code, String starttime,
			String endtime, String customName) {
		return sobm.getSellOrderBillCount(code, starttime, endtime, customName);
	}

	@Override
	public List<Company> getSuperlierList(String findName, String findCode,
			Integer findType, Integer pageNo, Integer pageSize) {
		return sobm.getSuperlierList(findName, findCode, findType, pageNo, pageSize);
	}

	@Override
	public int getSuperlierCount(String findName, String findCode,
			Integer findType) {
		return sobm.getSuperlierCount(findName, findCode, findType);
	}
}
